04ba49ba567676a57548027a8e4d5750dea58257,dspace-swordv2/src/main/java/org/dspace/sword2/SimpleDCEntryIngester.java,SimpleDCEntryIngester,ingestToCollection,#Context#Deposit#Collection#VerboseDescription#DepositResult#,202

Before Change


			// authorisation briefly, because although the user may be
			// able to add stuff to the repository, they may not have
			// WRITE permissions on the archive.
			boolean ignore = context.ignoreAuthorization();
			context.setIgnoreAuthorization(true);
			item.update();
			context.setIgnoreAuthorization(ignore);

			verboseDescription.append("Ingest successful");
			verboseDescription.append("Item created with internal identifier: " + item.getID());

After Change


			// authorisation briefly, because although the user may be
			// able to add stuff to the repository, they may not have
			// WRITE permissions on the archive.
			context.turnOffAuthorisationSystem();
			item.update();
			context.restoreAuthSystemState();